package com.bl.service;

import java.util.List;

/**
 * @author ${user}
 */
public interface Service<T> {

    void insertToDbOneByOne(final List<T> aObject);


    void insertUsingBatches(final List<T> aObject);


    void deleteFromDbOneByOne(final List<T> aObject);


    void deleteUsingBatches(final List<T> aObject);


    T findById(final Integer id);


    List<T> generateObjects(final int aNumberOfObjects);
}
